<style>
.property_excel_emp{
	margin-top:10px;	
}
.property_excel_emp span{display:inline-block;width:165px;float:left;margin-bottom:5px;}
.property_excel_emp{float:left;}
.property_excel_emp label{font-size:14px;font-weight:bold;color:#24A2FF}
</style>
<div class="post-h"> Xuất Excel Nhân Viên</div>
<div class="container">
    <div id="filters">
    <?php echo form_open("",'id="form_submit"');?>	
       <p class='property_excel_emp'> <label> Danh sách phòng ban: </label></p><div style="clear:both"></div>
          <p class='property_excel_emp'>
        	<?php if(!empty($room)) foreach($room as $item){
					echo "<span><input type='checkbox' name='room_listid[]' value='".$item->id."'>".$item->title."</span>";
			}?>
        <input class="print" type="submit" style="display:none" />
        </p>
        <div style="clear:both"></div><p class='property_excel_emp'> <label> Hiển thị tên cột: </label></p><div style="clear:both"></div>
          <p class='property_excel_emp'>
        	<?php if(!empty($check)) foreach($check as $value => $name){
					echo "<span><input type='checkbox' name='table[]' value='$value'> $name</span>";
			}?>
        <input class="print" type="submit" style="display:none" />
        </p>
    <?php echo form_close();?>
    </div>
</div>
<script>
$().ready(function(){
$('.export_excel a').click(function(){
	$get_form = $("form").serialize();
	window.location.assign("<?php echo site_url("emp_room/export_employ/export_excel")?>?"+$get_form);
});
});
</script>